input validation for module names. - #215