fixed NPE
added query id for name of QueryTaskRunner