fix duplicate submit bug, just fix, need to refactoring