rename inner class boolean type attributes