avoid some errors/notices and add entries_findByTask method