fix bfix bugs.

Signed-off-by: Samuel Deng <mr.dengshuoling@gmail.com>