fixed linking between starred and unstarred functions