terminal fix. still 2x faster than others