Fix the download action grabbing the id from input