added a sanity check for cases where the user did not specify a name for module content