mild sanitization of linker output madness