fix bad instanceof comparison; version bump