open and close without init