another fix for query methods signatures