notifying on page end