eventdao selectall bugfix