fix creation of cluster