fixed a bug that made a dead link, probably need a better way to do this