snmall bug fix when proxying inner class