made simualtion closed and fixed some config issues on ispn