5933ebc6b6
1. cleanup the warnings. 2. fix the some function called in gap 3. fix some code in btc_main
1. cleanup the warnings. 2. fix the some function called in gap 3. fix some code in btc_main