removing default scope deprecation warning