fixed a few link errors