fix self-check