fixed problem when option does not exist