settings for warnings