[exports] fix a minor bug