fixing link shortener to use the right id