Fix: _compact bug