fix code blocks in computations