correcting linking issues