fix some issues in cluster configuration for loader