fix inspection problems