fixed syntax erorr in renderUrl function

fix for issue #3