fix bugs when shanbay upgrade