finish entries and remove trashes