fix command to work on mac