fixed offline options to work correctly