fix whitespaces on mac os x