Fixed open/close bug

Forgot to remove a class.