fixing: sidebar and redirect generation