Fix CPU overrun