fixed misc variable typos