remove everything inside the three red marked areas and then remove the red lines