delete res from origin