get median and unaligned data handler correctly worked.