fix incoming query error on merchant