quick fix for upload_to issue