fix minutes_connected calculation