fixing tags and categories