fixing file encoding issue