Fixing upload and tides routes