Fixed compile error

Probably picked poor names for my variables