fixed minor bug in url parsing that didn't let urls be at beginning of line