Fixed bug in main block generation where it went unlabeled