Correcting mistakes in IHM. But it doesn't work properly