fixed: operations not generated correctly when no expression is provided