fixed notfication API call