doAnimate could be null , make sure it is true/flase