Fixed extra blocks being added.