Fix blocks of code