fix getOptions boolean