fix the wild point problem