fix empty team bugs in pdl