fix setting default key