Fixed some code inspector issues