initial commit
smSubmit fixed replaceIfpresent