enabling off line mode