fixed bug with repeat dragging after quit challenge.
take account of the data challenge value if challenge is true