fix url render and add appropriate app_hook