add seek(-1) on reboot