fixing sharedInstance impl, whoops