Aliases are writing too many flashes when errors are present

@jwforres review plz