whitespace fix and made the windows & osx versions more similar