fixed getops case (missing parameters)