updated bug in PdoModel