Fix data assignment.