removed unnecessary code and set correct href urls