fixed sidebar render issue