fixed code chunk