Corridor problem

The Corridor created does not match with horizontal alignment that had the same starting and ending point. there is any solution to this problem?