fix if no numeric variables have been specified
data.table tweak