fix linking order
fix