change the way draw border