bugfix: url lookup instead of type