plan flow errors