fixing more local variable errors
Merge pull request #77 from zsherman/dashboard

fixing more local variable errors