fixed options underfined problem