fix self bug