improve compilance messages