fix get download instead of file action
fix double ? in url