fix restoration of identify mode