refactoring parse header and fixing CI

parent 7bb3233c
Pipeline #22079 passed with stages
in 23 minutes and 56 seconds