fixed stacktrace loggin guard