Fix category export.