code inspector clean up