attempt at fixing the file encoding issue