Auto-submit bugfix