tighten up the deprecation warning