modify the warnings