fixed a defect where the active link was not working when pressed after the completed link was clicked