fixed error in code example