fixed some bugs and redirected some links