fix submit problem