try a rejig to fix link errors