Update expressions

There is a bug in genStatment function