fix add materials, add edit gif materials