bug fixes and version bump