strange why -w doesn't work sometimes other than OSX