Cosmetic
FIXED BUGS: Nullpointers

Fixed:
- accessing empty baseUrls vector
- accessing empty Segment