fixed bug where all options are set into 'default'