change version to 0.2.17
bug fixed for invokeCount undefined
fixed compile warnnings