bug fix in cluster script