Corrected some small errors