fixing cluster instance creation issue and updating min and max for cluster instance