Fix error in code of previous post