added check for qcollectiongenerator