fix fn call location in setAnim