fix open on mswin