fix theme bug with sml