removed extra rows on form submissions