added validation for modules section