Fixing bug with accents