Fixed bug in connmin