fix pmd capture sample