added better error catching logic
version bumped