fix tplsettings submission error