add repeat finished
some instanceof deleted