fixed windows extension extraction