fix a subtle bug which caused by aync of enc & dec report