some fixes for finishing where the dashed line is