So you know where I'm coming from.... the end of the trim should be square, but cut at 45° - think of a chisel (ok not 45°, but it's square at the end and still angled). That's what you need to achieve. I'm guessing you've cut the trim so that when fitted, the flat sections are open at the back - they need to meet. I hope you can understand.