some fixes for the upload bot