modified root_path