fixed name of KEY variables