fixed initialize options for windows/mac