updated code inspection profile and fixed minor errors