upload fixes