fixed linking issue