Correction bug when program is not entered