fixing windows argument-passing issue