fix measureLog add crash