fix borders