more careful about opening and closing devices
version bump