fix: when you run the command multiple times, there are multiple extends tags added