fixed syntax error in assignment