modify wrong code