removed key.encoding line