check request.fullpath in initialize_template,