fixed bugs in getContactPersons
models