Fixing variable names

This is why working at 1:30am isn't always the best idea.