fix options being cleared when loaded