debug show/hide after restore