make borders consistent