remove double reference