fix onFlashUploadComplete typo/bug