fix sonar version issue in build script
remove debug code