Clean up piligrim decoder