fixed border bug introduced with last commit