fix linking issue