avoid wrong string of boolean value

doAnimate should be true/false value