fixed string and extra output at end