remove border debug method