fix as4 for as6 and as8