strip options with no value