Corrected a few errors