encryption fix