fix notification.post() bug

fix notification.post() without argument will throw wrong error