simplify warning message.