RF: fixed up the xval