Fixed code inspection problems