fix endpoint display