fixed editor upload bug