cannot switch to path on mac