fixing linking problem hopefully