fixed bugged borders