clean up parse_string
fixed a booboo
fixed another booboo