sanitize dropdown