add format function in models/notif v13.9