correct the bad operation