corrected some mistakes after running whole module