resurrect --save option
fix empties length
clean exit