fix bug export