Fix typo.
Fix bug with cat. registration and tar_result.