fixed isinstace bug; version++