IDE: fix an infinite recursion via getInstance