fix relay blocks