fix MacOS specific shortcuts, thanks @minrk