get warnings to work