Fixed some errors.