fix minor issue in getting default key