Encoded-word bugfix