rename _alt_ related variables to _key_