Fixes error when string contains a double quote