notification deprecated fix