fixing bug with uf8