Garbage string removal