change error report

When segment buffer is not zero, report error message.
Change link text array