adjusting warning box