linking sanity check