bug fix
line 221, bad check for render_url