small hack to accept urls as params