simplyfy regexproute, add more logging