* fix bugs caused by missing requires.
+ add some log to indicate communication status.