fixed forkcheck