Fixed a linking bug