add Auto's category data and fix file writing typo