remove double variable statement