fixing endpoints for existing domains