fix bug parsing wine file