fix deprecation message from Singleton