fix problem of demo missing exports