fix export logic