miscounting of active ROCs fixed, trimming still gives problems