Fixed setExecutor method