added error message when adding a module as admin with bad values