remove \n for logdebug
remove some debug log
fix bug