enhance DICOM string support
fix minor bug in syntax