make warnings configable