Patch 1

variable names seemed inconsistent. changed to match. thanks.