ui: fixed bug in sidebar