new version: fix log exception error