fix self ref