Corrected some minor errors