improve RE handling in predict: closes #201