fixed only regenerating one block