Fix SingleEncoding.