[Wikitech-l] fixing lines automatically which run through the border