fixing border display issue