fix productstate rest