change the ext of category