fix broken border drawing...oops