solves #16, uploadr was not cleared out properly