fix getInstance