fix little bugs.