fix a few variable names that were breaking page render