fixing utf8 issue and shadow