Correction and improvement of programming

299