fixed a bug in assignment expression generation