bug fix for remove border