fix change theme bug