bugfix if then;

it should be if then begin end;