str cleanup