fix relay blocks bug