more debug error fixes