remove deprecated call to .all