auto submit fix