fix fsn&material code