hack to allow use of build_url method