Weldment profile - trim

Why solidworks doesn't know how to trim profiles properly?