small errors fixed