tons of fixes for BAD_PROGRAMMER (flux)