fix gesture info calculation and version up