remove fork function for bug