fix the 'invalid byte sequence in UTF-8' error that appeared in some boxes