fix submit issue