remove refe; change refe to ri