Take 2 for psudo PDF detection