fix up all this module export stuff