made download link goes to controller