logic fix parsing connect strings