made it work on mac terms