Fixed the bug of asm dist.