fix bug with unit conversions in gui connection frame