fixed MODE_REGISTERED bug; introduced MCP_REGISTERED