fix typeload error in /upload