Turn on the Diagnostic display representation or toggle on justification lines and adjust the justification lines or increase the cleanup circle radii until the problem is fixed.
Adjusting wall cleanup circle radius for correct clean up
Also, make sure that there are no short wall segments in the wall. These can occur where center lines intersect, or when a segment is too short to produce a full profile. Delete the short wall segment to fix the cleanup problem.