Fixed bug with small PEC files