fixed parsing bug on predicates
Latet model.  Not working correctly.