refactor requested_path vars