cannot find and store the entry id for edit and delete