fix all the errors.