fix relay