fix border overhang