found a bug that i'm hoping was causing the linking problem