fix memoryleak bug and use cache/memory model
bump version