Fixing encoding, and restart