Corrected lack of main header parameters retrieval