missing header checks in phIO