some str cleanup