Fix mac, thanks chris