Fix missing  block end