fixed check cycle in blocks 3 and 4