clear out local changes for api rewrite