various bug fix for cbeta2014