deal with inspect code results.
fix bugs about display message.