made api_root work