uint8array setup

uint8array setup and replace tab character by space character, remove trailing space character