removed extraneous input from utils/make-query