Fix some inspector warnings