fix some bug

fix key unset