printf fix for modules that can't be loaded