repair bugs.

repair bugs.