small bug fix with urls regex