fixing tags on import