correct the modul errors