moddump: moving debug error to rendering function