Fixed some bad variables.