fixed another linking bug