ensured parameters don't get set if the path doesn't match