fix predict with f:g with numeric grouping vars