killed the issue causing the final output string to be the wrong length