fixed linking.