Attempt to fix reflection exception