fixed export of modules