exposed as a rubyist, I correct two missing var statements.