Fixed block cycle bug