fixed from_aaseq bug