fixes bug with quotes in strings