added some url_helper helper prints and type checking