pred_ranking fix (na.omit to see if nonvariable var)