fixed some links not properly directing to the right page