persist some options on init