changed path to query