retrieve all and cleanup