fix sidebar_helper bug