fix assign at production