removed auto-close of class