small encryption fix