safeguard for invalid options