Many thanks. It works. You also helped me refactor these ('/([0-9]*)/?([^/]*)',AById),#id2a ('/([0-9]*)',AById) to just 1 ('/([0-9]*)/?([^/]*)',AById),#id2a It's from the appspot framework. Sincerely Niklas R