fixed border bug on events