Not losing state of inspector