trying to close and opening again