bagfix prop model props and sql cond - and