Fix click syntax and anchor id