Experimental study and analytical approaches to avoid matrix defects during composites manufacturing