Fix notification creation error