uncompress stuff
revision for windows