Fix wrong refs