fix DELETE bug