fixed the open/close state enum value