fix length for ated and asac