delete the red rectangle