fix: commit command does not work on mac osx