FIX the excessd inserted switches BUG.

refine the code specif

delete some excessed code hints and add some comments.

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