fixed a sidebar status checking bug