remove qDebug lines and dead code
remove dead code