Fix reset data to actually work (fix #25)