fix infinite loop of pushing new tags