fixed breaking root_path problem