also catch InvalidParameterException, handle strict mode off