fixed border bug