remove double assignations