corrected endpoint return data