Fix missing "end" node