fix bar's shift in barbox