fixing pagination link (appending params)