auto-clear deck when exporting (#371)