trying to fix notifications sending problem