fixing theme bug