corrected severals errors