Fixing auto-submit frequency bug