missed a local variable