clean up borders