making sub modules published when publishing parent