fix wrong 'sys' module with 'os'