fix missing keyword begin