fixed encoding issue in windows while using verify