fixed t163-api bugs.