Fixed multi-process issue