better pdc auto detect