solve toggle-console