Fix garbage chars at end