cleaning some extra space.

close #5838