fixing the theme bug