adjust highlight borders