resolve inspection warnings