bug fix for  the added key map