fixed dynamic theme switch