fixed some small errors2