fix tags and categories