fixed minor variable typos