change the luck to in process mode