reflection checks and fixes
warning fix
warning fix