Corrected some miscellaneous errors