fix read options on login