handles GTparams location correctly