How to remove the extra part in generative shape design

I am working on a helmet design in surface catia v5, while doing the back hinges I gotta problem that small portion of inside part is coming out out surface which lead to error in design. Please let me know how to clear that. I attached some photos of it, so, you could be able to understand