remove inner class