fixed deleting of entries