Crash fix in sidemenu