fix connection string parser to parse integer value from db