adjusted content in warnings to prevent printout exceptions.