fixed bug : wrong assignment