[BUG FIX] Can't get singleton instance correctly.