remove unneeded parts from sidebar