fix fileencoding err