#fix problem when options are empty