Bug fix at upload.