fixed header order bug in datair