fix the reflection call and unit test