fixed little bugs.