changed URL regex, previous one got sometimes infinite loop