fix block of code