fixed flows query not outputting errors
first full attempt at role transit..