Gc/fix material

*change view in material's create
*fix materials in db