Fix wrong ref