set assertions to warning level