this "should", hopefully for the last time, fix unregister trigger crashes