fixes in endpoint