actually fixed double submit bug