correct the wrong code