fix modules path issue for cluster