fix for sidebar(cookies added)