fix some litte bugs.