server endpoint fix