Fix Bug: 1. Fix bug in global_accept