add config item enter mode
fix some variable name