Fixed missing assingement