making sure opts are valid to inspect