Your vertices on the joining edges may not have been on the same plane. Show us an image if you can mate?