Fix wrong code of PMT parsing function
cosmetics