fixed bug in offline mode