fixed testing in idle