Corrected toggle error