fixed variable Mis-spellings.