ECMS-5638 fix unknown problem when adding new script without fill the Name field