Fixed idle units bug