Fix build error for appsidebar(1/2)