fix bug with first submit missing