correct usage of Ref and Unref; fixing build
bump version number