bug fix in getData for non Windows user.