fix bug: flash notices persisting between requests