fixed t-163-api bugs.