retrieveall: fixing #5