fix init bugs
replace pre-built conf/mconf with kconfig env