fix compare sidebar template