fixed log type restoring