Fix structure errors.