fixed evaluation of assignment statements