fixed mac notification bug

closes #423