fixed typo of placing a block of code