fixed problem in side panel with legacy mode