added missing variables
typo