fix 'jumping header by sorting'