Finish read_header