fix a couple missing vars