Fix wrong references