hack to fix external process issue