QList bug fix