fix offline option