added some smartparens/mac stuff