fix deprecated pattern for notifies