quickfix for RAM overuse