compensating for removal of borders