fix heade reading to wok with new PADE format