Material manager

fixed