fixed repeat showing more than once.