fix for parsing of special characters