Corrected a couple of errors