fix endpoint, some docs