Bug in assignment operators is fixed