change spaces to tabs
remove unnecessary allocation