bugfix pullup key_init