fixec broken endpoint