better messages on some obscure flow errors