clean up warning message