made random char pool global and fixed type in privly_URL