fixed asmack bug