init: remove some not used codes and fix bb.

N/A

Signed-off-by: yudatun <yudatun@gmail.com>