updated small bugs.