supporting empty entity tables