queryNamed broken