fix native inner class stuff
releng for v0.9.51