rest delete correction