upload almost works