data endpoint fix