fixed formatting and line endinding error for osx in this build