Fix: sidebar is not an elem type