fix some uncorrect strings parsing