fix SqlObject::getAll