fixes constrains for predefied notification