endpoint fix