fix for editor upload