Some small errors fixed