if closed set null and re open
if closed set null and re open