fix border alignment