qu was instead of query. Fixed