.translate() throws unchecked exception