Corrected some simple errors