fix reflection exception