border drawring fix