fixed a sidebar display problem