Fixed undefined adm error in pr listings