capitalize dir names UndefinedObj and MatWithDrvs