[file edit] fixed edit submit bug