bug fix from unintentional repitition of key