fixed executors and setstate