fixed the parameters in links