Removed a few errors

Fixed a few compilation errors by changing variable names and
commenting out some lines