fixing deprecation warnings, down shutdown dispatch here, session clear triggers this