fixed the bug to be able to read parameter 'ball_num'