some variable names were being stored incorrectly