Fix inspector warnings