linking problem solved