fixing bugs

- won't crash when it's an all day event now...