changed query

changed query but still throws an error