diaper atexit fixed