fix typoes
fixed bugs.