added clean notifications to deprecated api