Not all of object is showing up on flatten

I drew up A and bent it into B and when I hit flatten C comes up

SolidworksSolidworks Add-ins