fixing bug with single query