correct the sider logic