fixing submoduling