correcting notification sending