add auto alloc mode
fix sigsev add simple folder (don't work with multi folders