Problem with next and submit after correcting errors.