fix some bugs of the flow of passing ball