fixed notification validation