remove unvalid option