changed AVS_FLAG to AVX_FLAG